package com.fx.BEP_1;

public class test05 {
    String testString = new String("good");
    char[] testCharArray = {'a','b','c'};

    public static void main(String[] args){
        test05 ex = new test05();
        ex.change(ex.testString,ex.testCharArray);
        System.out.println(ex.testString);
        System.out.println(ex.testCharArray);
    }

    public void change(String testString,char[] testCharArray){
        testString = "hhhhhh";
        testCharArray[0] = 'w';
    }
}
